#include "globals.h"
#include "table.h"

typedef struct _value {
	int numberval;
	char* stringval;
} *value;

int main(void)
{
	table t = table_init(10);

	value v = (value)malloc(sizeof(struct _value));
	v->numberval = 12;
	v->stringval = "test string";

	table_insert(t,"test1",v, sizeof(struct _value));

	free(v);

	table_destroy(t);

	exit(0);
}
